package com.qf.smsplatfrom.mapper;

import com.qf.smsplatfrom.pojo.TDescribe;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DescribeMapper {

    @Select("select * from t_describe")
    List<TDescribe> showAllDescribe();

    @Insert("insert into t_describe(list,state) values(#{list},#{state})")
    int insertDescribe(TDescribe tDescribe);


    int updateDescribe(TDescribe tDescribe);


    int deleteDescribe(@Param("ids") List<Long> ids);


}
